Integrand size = 22, antiderivative size = 515 \[ \int \frac {x^2}{\sqrt [3]{1-x^2} \left (3+x^2\right )} \, dx=-\frac {3 x}{1-\sqrt {3}-\sqrt [3]{1-x^2}}-\frac {\sqrt {3} \arctan \left (\frac {\sqrt {3}}{x}\right )}{2\ 2^{2/3}}-\frac {\sqrt {3} \arctan \left (\frac {\sqrt {3} \left (1-\sqrt [3]{2} \sqrt [3]{1-x^2}\right )}{x}\right )}{2\ 2^{2/3}}+\frac {\text {arctanh}(x)}{2\ 2^{2/3}}-\frac {3 \text {arctanh}\left (\frac {x}{1+\sqrt [3]{2} \sqrt [3]{1-x^2}}\right )}{2\ 2^{2/3}}-\frac {3 \sqrt [4]{3} \sqrt {2+\sqrt {3}} \left (1-\sqrt [3]{1-x^2}\right ) \sqrt {\frac {1+\sqrt [3]{1-x^2}+\left (1-x^2\right )^{2/3}}{\left (1-\sqrt {3}-\sqrt [3]{1-x^2}\right )^2}} E\left (\arcsin \left (\frac {1+\sqrt {3}-\sqrt [3]{1-x^2}}{1-\sqrt {3}-\sqrt [3]{1-x^2}}\right )|-7+4 \sqrt {3}\right )}{2 x \sqrt {-\frac {1-\sqrt [3]{1-x^2}}{\left (1-\sqrt {3}-\sqrt [3]{1-x^2}\right )^2}}}+\frac {\sqrt {2} 3^{3/4} \left (1-\sqrt [3]{1-x^2}\right ) \sqrt {\frac {1+\sqrt [3]{1-x^2}+\left (1-x^2\right )^{2/3}}{\left (1-\sqrt {3}-\sqrt [3]{1-x^2}\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {1+\sqrt {3}-\sqrt [3]{1-x^2}}{1-\sqrt {3}-\sqrt [3]{1-x^2}}\right ),-7+4 \sqrt {3}\right )}{x \sqrt {-\frac {1-\sqrt [3]{1-x^2}}{\left (1-\sqrt {3}-\sqrt [3]{1-x^2}\right )^2}}} \]
[Out]
Time = 0.12 (sec) , antiderivative size = 515, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {494, 241, 310, 225, 1893, 402} \[ \int \frac {x^2}{\sqrt [3]{1-x^2} \left (3+x^2\right )} \, dx=\frac {\sqrt {2} 3^{3/4} \left (1-\sqrt [3]{1-x^2}\right ) \sqrt {\frac {\left (1-x^2\right )^{2/3}+\sqrt [3]{1-x^2}+1}{\left (-\sqrt [3]{1-x^2}-\sqrt {3}+1\right )^2}} \operatorname {EllipticF}\left (\arcsin \left (\frac {-\sqrt [3]{1-x^2}+\sqrt {3}+1}{-\sqrt [3]{1-x^2}-\sqrt {3}+1}\right ),-7+4 \sqrt {3}\right )}{\sqrt {-\frac {1-\sqrt [3]{1-x^2}}{\left (-\sqrt [3]{1-x^2}-\sqrt {3}+1\right )^2}} x}-\frac {3 \sqrt [4]{3} \sqrt {2+\sqrt {3}} \left (1-\sqrt [3]{1-x^2}\right ) \sqrt {\frac {\left (1-x^2\right )^{2/3}+\sqrt [3]{1-x^2}+1}{\left (-\sqrt [3]{1-x^2}-\sqrt {3}+1\right )^2}} E\left (\arcsin \left (\frac {-\sqrt [3]{1-x^2}+\sqrt {3}+1}{-\sqrt [3]{1-x^2}-\sqrt {3}+1}\right )|-7+4 \sqrt {3}\right )}{2 \sqrt {-\frac {1-\sqrt [3]{1-x^2}}{\left (-\sqrt [3]{1-x^2}-\sqrt {3}+1\right )^2}} x}-\frac {\sqrt {3} \arctan \left (\frac {\sqrt {3} \left (1-\sqrt [3]{2} \sqrt [3]{1-x^2}\right )}{x}\right )}{2\ 2^{2/3}}-\frac {\sqrt {3} \arctan \left (\frac {\sqrt {3}}{x}\right )}{2\ 2^{2/3}}-\frac {3 \text {arctanh}\left (\frac {x}{\sqrt [3]{2} \sqrt [3]{1-x^2}+1}\right )}{2\ 2^{2/3}}+\frac {\text {arctanh}(x)}{2\ 2^{2/3}}-\frac {3 x}{-\sqrt [3]{1-x^2}-\sqrt {3}+1} \]
[In]
[Out]
Rule 225
Rule 241
Rule 310
Rule 402
Rule 494
Rule 1893
Rubi steps \begin{align*} \text {integral}& = -\left (3 \int \frac {1}{\sqrt [3]{1-x^2} \left (3+x^2\right )} \, dx\right )+\int \frac {1}{\sqrt [3]{1-x^2}} \, dx \\ & = -\frac {\sqrt {3} \tan ^{-1}\left (\frac {\sqrt {3}}{x}\right )}{2\ 2^{2/3}}-\frac {\sqrt {3} \tan ^{-1}\left (\frac {\sqrt {3} \left (1-\sqrt [3]{2} \sqrt [3]{1-x^2}\right )}{x}\right )}{2\ 2^{2/3}}+\frac {\tanh ^{-1}(x)}{2\ 2^{2/3}}-\frac {3 \tanh ^{-1}\left (\frac {x}{1+\sqrt [3]{2} \sqrt [3]{1-x^2}}\right )}{2\ 2^{2/3}}-\frac {\left (3 \sqrt {-x^2}\right ) \text {Subst}\left (\int \frac {x}{\sqrt {-1+x^3}} \, dx,x,\sqrt [3]{1-x^2}\right )}{2 x} \\ & = -\frac {\sqrt {3} \tan ^{-1}\left (\frac {\sqrt {3}}{x}\right )}{2\ 2^{2/3}}-\frac {\sqrt {3} \tan ^{-1}\left (\frac {\sqrt {3} \left (1-\sqrt [3]{2} \sqrt [3]{1-x^2}\right )}{x}\right )}{2\ 2^{2/3}}+\frac {\tanh ^{-1}(x)}{2\ 2^{2/3}}-\frac {3 \tanh ^{-1}\left (\frac {x}{1+\sqrt [3]{2} \sqrt [3]{1-x^2}}\right )}{2\ 2^{2/3}}+\frac {\left (3 \sqrt {-x^2}\right ) \text {Subst}\left (\int \frac {1+\sqrt {3}-x}{\sqrt {-1+x^3}} \, dx,x,\sqrt [3]{1-x^2}\right )}{2 x}-\frac {\left (3 \left (1+\sqrt {3}\right ) \sqrt {-x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1+x^3}} \, dx,x,\sqrt [3]{1-x^2}\right )}{2 x} \\ & = -\frac {3 x}{1-\sqrt {3}-\sqrt [3]{1-x^2}}-\frac {\sqrt {3} \tan ^{-1}\left (\frac {\sqrt {3}}{x}\right )}{2\ 2^{2/3}}-\frac {\sqrt {3} \tan ^{-1}\left (\frac {\sqrt {3} \left (1-\sqrt [3]{2} \sqrt [3]{1-x^2}\right )}{x}\right )}{2\ 2^{2/3}}+\frac {\tanh ^{-1}(x)}{2\ 2^{2/3}}-\frac {3 \tanh ^{-1}\left (\frac {x}{1+\sqrt [3]{2} \sqrt [3]{1-x^2}}\right )}{2\ 2^{2/3}}-\frac {3 \sqrt [4]{3} \sqrt {2+\sqrt {3}} \left (1-\sqrt [3]{1-x^2}\right ) \sqrt {\frac {1+\sqrt [3]{1-x^2}+\left (1-x^2\right )^{2/3}}{\left (1-\sqrt {3}-\sqrt [3]{1-x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {1+\sqrt {3}-\sqrt [3]{1-x^2}}{1-\sqrt {3}-\sqrt [3]{1-x^2}}\right )|-7+4 \sqrt {3}\right )}{2 x \sqrt {-\frac {1-\sqrt [3]{1-x^2}}{\left (1-\sqrt {3}-\sqrt [3]{1-x^2}\right )^2}}}+\frac {\sqrt {2} 3^{3/4} \left (1-\sqrt [3]{1-x^2}\right ) \sqrt {\frac {1+\sqrt [3]{1-x^2}+\left (1-x^2\right )^{2/3}}{\left (1-\sqrt {3}-\sqrt [3]{1-x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {1+\sqrt {3}-\sqrt [3]{1-x^2}}{1-\sqrt {3}-\sqrt [3]{1-x^2}}\right )|-7+4 \sqrt {3}\right )}{x \sqrt {-\frac {1-\sqrt [3]{1-x^2}}{\left (1-\sqrt {3}-\sqrt [3]{1-x^2}\right )^2}}} \\ \end{align*}
Result contains higher order function than in optimal. Order 6 vs. order 4 in optimal.
Time = 3.98 (sec) , antiderivative size = 28, normalized size of antiderivative = 0.05 \[ \int \frac {x^2}{\sqrt [3]{1-x^2} \left (3+x^2\right )} \, dx=\frac {1}{9} x^3 \operatorname {AppellF1}\left (\frac {3}{2},\frac {1}{3},1,\frac {5}{2},x^2,-\frac {x^2}{3}\right ) \]
[In]
[Out]
\[\int \frac {x^{2}}{\left (-x^{2}+1\right )^{\frac {1}{3}} \left (x^{2}+3\right )}d x\]
[In]
[Out]
\[ \int \frac {x^2}{\sqrt [3]{1-x^2} \left (3+x^2\right )} \, dx=\int { \frac {x^{2}}{{\left (x^{2} + 3\right )} {\left (-x^{2} + 1\right )}^{\frac {1}{3}}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^2}{\sqrt [3]{1-x^2} \left (3+x^2\right )} \, dx=\int \frac {x^{2}}{\sqrt [3]{- \left (x - 1\right ) \left (x + 1\right )} \left (x^{2} + 3\right )}\, dx \]
[In]
[Out]
\[ \int \frac {x^2}{\sqrt [3]{1-x^2} \left (3+x^2\right )} \, dx=\int { \frac {x^{2}}{{\left (x^{2} + 3\right )} {\left (-x^{2} + 1\right )}^{\frac {1}{3}}} \,d x } \]
[In]
[Out]
\[ \int \frac {x^2}{\sqrt [3]{1-x^2} \left (3+x^2\right )} \, dx=\int { \frac {x^{2}}{{\left (x^{2} + 3\right )} {\left (-x^{2} + 1\right )}^{\frac {1}{3}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x^2}{\sqrt [3]{1-x^2} \left (3+x^2\right )} \, dx=\int \frac {x^2}{{\left (1-x^2\right )}^{1/3}\,\left (x^2+3\right )} \,d x \]
[In]
[Out]